<template>
  <div class="app">
    <img src="../../assets/image/icon/submit-success.png" alt="">
    <div class="tip-title">预约信息提交成功</div>
    <div class="tip-content">等待部门管理员审核通过</div>
    <div class="btn-wrap">
      <router-link :to="{path: '/visitor/visitorSend'}">
        <div class="btn btn-blue">继续预约</div>
      </router-link>
      <router-link :to="{path: '/visitor/visitorRecord'}">
        <div class="btn btn-white">查看预约</div>
      </router-link>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  },
  created() {
    document.title = this.getUnitInfo().name
  }
}
</script>

<style lang='scss' scoped>
.app {
  padding-top: 50px;
  img {
    display: block;
    margin: 0 auto;
    width: 129px;
    height: 120px;
  }

  .tip-title {
    margin-top: 24px;
    line-height: 22px;
    font-size: 16px;
    text-align: center;
    font-weight: 500;
    color: #141e2a;
  }
  .tip-content {
    margin-top: 8px;
    line-height: 18px;
    font-size: 13px;
    text-align: center;
    color: #a8a8a8;
  }

  .btn-wrap {
    margin-top: 60px;
    height: 32px;
    display: flex;
    justify-content: center;

    .btn {
      margin: 0 17.5px;
      width: 120px;
      height: 32px;
      font-size: 15px;
      border-radius: 24px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .btn-blue {
      background: #267eff;
      color: #ffffff;
    }
    .btn-white {
      background: #f8f9fa;
      color: #267eff;
      border: 1px solid #267eff;
    }
  }
}
</style>
